/*
 * $Id: DataAccessException
 * Created on 2004-12-28 13:31
 */
package cn.donave.framework.exception;

/**
 * Wraps an <tt>SQLException</tt>. Indicates that an exception occurred during a
 * JDBC call.
 * 
 * @see java.sql.SQLException
 * @author Duhengfei
 * @version 2.0
 */
public final class DoNaveException extends Exception {
	private static final long serialVersionUID = 1L;

	/**
	 * Constructor for DataAccessException.
	 * 
	 * @param msg
	 *            message
	 */
	public DoNaveException(String msg) {
		super(msg);
	}

	/**
	 * Constructor for DataAccessException.
	 * 
	 * @param ex
	 *            root cause (usually from using a underlying
	 */
	public DoNaveException(Throwable ex) {
		super(ex);
	}

	/**
	 * Constructor for DataAccessException.
	 * 
	 * @param msg
	 *            message
	 * @param ex
	 *            root cause (usually from using a underlying data access API
	 *            such as JDBC)
	 */
	public DoNaveException(String msg, Throwable ex) {
		super(msg, ex);
	}

}
